package main.java.tmi.customer.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * 사용자 로그인을 처리하는 Interface
 *
 * @author min™
 * @since 2011. 07. 24
 *
 */
public interface CustomerService {
	
	
	/**
	 * Customer search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	List<CustomerVO> getCustomerView(Map<String,String> param) throws SQLException;
	
	/**
	 * Customer count search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	int getCustomerViewCount(Map<String,String> param) throws SQLException;
	
	/**
	 * Customer Detail search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	Map<String,String> getCustomerDetailView(Map<String,String> param) throws SQLException;
		
	/**
	 * Customer save
	 *
	 * @param param
	 * @return boolean
	 * @throws SQLException 
	 */
	boolean addCustomer(Map<String,String> param) throws Exception;
	
	
	/**
	 * Customer del
	 *
	 * @param param
	 * @return boolean
	 * @throws SQLException 
	 */
	boolean delCustomer(Map<String,String> param) throws Exception;
}


